<template>
  <div class="channel-grid-box">
    <van-grid square :column-num="4">
      <van-grid-item v-for="value in gridList" :key="value" icon="photo-o" :text="value.text" :to="`/allChannels`" />
    </van-grid>
  </div>
</template>

<script>
export default {
  name: 'FissionFriendsH5Channelgrid',
  setup() {
    const gridList = [
      { text: '游戏' },
      { text: '国创' },
      { text: '漫画' },
      { text: '电影' },
      { text: '综艺' },
      { text: 'up' },
      { text: '旅游' },
      { text: '文化'}
    ]
    return {
      gridList
    }
  }
}
</script>

<style lang="scss" scoped>
.channel-grid-box {
  padding: 10px;
}
</style>
